﻿@model MvcSiteMapProvider.Web.Html.Models.MenuHelperModel
@using System.Web.Mvc.Html
@using MvcSiteMapProvider.Web.Html.Models

<ul class="menu">
    @foreach (var node in Model.Nodes) {
        if (node.IsInCurrentPath)
        {
            <li><a href='@node.Url' class='current'>@node.Title</a></li> 
        }
        else { 
            <li><a href='@node.Url'>@node.Title</a></li> 
        }
    }
</ul>